package com.skyvin.nreceipts.common.document;

import org.springframework.data.mongodb.core.mapping.DBRef;
import org.springframework.data.mongodb.core.mapping.Document;

@Document
public class ReceiptCategory {

	private String id; 
	private String value;
	private String userPID; 
	
	public ReceiptCategory() {
	}	
	
	public ReceiptCategory(String value) {
		super();
		this.value = value;
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}

	public String getUserPID() {
		return userPID;
	}

	public void setUserPID(String userPID) {
		this.userPID = userPID;
	}

	@Override
	public String toString() {
		return "ReceiptCategory [id=" + id + ", value=" + value + ", userPID="
				+ userPID + "]";
	}
}
